package cn.hzc.fortess.system.eventbus;




public class LoginLogEvent implements   Event{

    private String loginName;

    private String logStatus;

    private String ip;

    private String logDetail;

    private String logName;

    private String uaAgent;

    private Integer lesseeId;


    public static class Builder {

        private LoginLogEvent target;

        public Builder() {
            this.target = new LoginLogEvent();
        }
        public Builder loginName(String loginName) {
            target.loginName = loginName;
            return this;
        }
        public Builder logStatus(String logStatus) {
            target.logStatus = logStatus;
            return this;
        }
        public Builder ip(String ip) {
            target.ip = ip;
            return this;
        }
        public Builder logDetail(String logDetail) {
            target.logDetail = logDetail;
            return this;
        }
        public Builder logName(String logName) {
            target.logName = logName;
            return this;
        }
        public Builder uaAgent(String uaAgent) {
            target.uaAgent = uaAgent;
            return this;
        }
        public Builder lesseeId(Integer lesseeId) {
            target.lesseeId = lesseeId;
            return this;
        }

        public LoginLogEvent build(){
            return this.target;
        }
    }

    public String getLoginName() {
        return loginName;
    }

    public String getLogStatus() {
        return logStatus;
    }

    public String getIp() {
        return ip;
    }

    public String getLogDetail() {
        return logDetail;
    }

    public String getLogName() {
        return logName;
    }

    public String getUaAgent() {
        return uaAgent;
    }

    public Integer getLesseeId() {
        return lesseeId;
    }
}
